package com.jiyinit.web.core.business.service;

import com.jiyinit.web.core.business.dao.TabCoreDictItemDao;
import com.jiyinit.web.core.business.entity.TabCoreDictItemEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p></p>
 * <p>
 * <PRE>
 * <BR>	修改记录
 * <BR>-----------------------------------------------
 * <BR>	修改日期			修改人			修改内容
 * </PRE>
 *
 * @author lishaochuan
 * @version 1.0
 * @date 2017/4/24 15:32
 * @since 1.0
 */
@Service("core.dictItemServiceImpl")
public class DictItemServiceImpl {

    @Resource(name = "core.tabCoreDictItemDao")
    private TabCoreDictItemDao dictItemDao;


    /**
     * 根据字典编号查询字典项值
     *
     * @param
     * @return
     * @author lishaochuan
     * @create 2017/4/24 15:23
     */
    public List<TabCoreDictItemEntity> selectByDictCode(String dictCode) {
        return dictItemDao.selectByDictCode(dictCode);
    }


}
